package com.example.repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.Fan;
import com.example.entity.GreenLed;
import com.example.entity.Params;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface GreenLedMapper extends BaseMapper<GreenLed> {

    @Select("select * from green_led")
    List<GreenLed> findGLed(@Param("params") Params params);
}
